package org.jeecg.talentCooperation.fruit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.talentCooperation.fruit.entity.Fruit;
import org.jeecg.talentCooperation.fruit.model.FruitInfoResultModel;
import org.jeecg.talentCooperation.fruit.model.FruitResultModel;
import org.jeecg.talentCooperation.talent.entity.TalentBasic;

import java.util.List;

public interface IFruitService extends IService<Fruit> {

    List<FruitResultModel> getFruitIdGroupByAuthorId();

    Page<Fruit> getFruitList(Page<Fruit> talentFruitPageList, FruitInfoResultModel fruit);

    FruitInfoResultModel getDetailFruitById(Long id);
}
